Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74928

Use damage requests to optimize QML compositor rendering

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Wayland Compositor
    • None
    • Linux/Wayland

    Description

      As far as I can tell, we're rendering the entire client each time it updates, regardless of what damage requests it sends.

      We're already gathering damage for wl_surface.damage requests, and these are emitted through the QWaylandSurface::damaged(QRegion) signal, so we should use this information in QWaylandQuickItem to make sure we don't needlessly repaint the entire client if it's more efficient to redraw only parts of it.

      Note that some clients/drivers don't submit partial damage if only wl_surface.damage is supported and not wl_surface.damage_buffer (see QTBUG-74927).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              johanhelsing Johan Helsing
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes